package com.guofen.dao;

import com.guofen.pojo.ShljBlockageCleaning;
import com.guofen.pojo.ShljDeodorizationtowerWaterChange1;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ShljDeodorizationtowerWaterChange1Mapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShljDeodorizationtowerWaterChange1 record);

    int insertSelective(ShljDeodorizationtowerWaterChange1 record);

    ShljDeodorizationtowerWaterChange1 selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShljDeodorizationtowerWaterChange1 record);

    int updateByPrimaryKey(ShljDeodorizationtowerWaterChange1 record);

    ShljDeodorizationtowerWaterChange1 selectLast();

    ShljDeodorizationtowerWaterChange1 findLast();

    List<ShljDeodorizationtowerWaterChange1> selectAll();

    List<ShljDeodorizationtowerWaterChange1> selectByDate(@Param("startDate") String startDate,
                                            @Param("endDate") String endDate);
}